from django.urls import path, include
from django.contrib.auth import views as auth_views

from . import views

urlpatterns = [
    path('', views.index, name='index'),
    path('files', views.files, name='files'),
    path('orders', views.orders, name='orders'),
    path('routing', views.routing, name='routing'),
    path('routes', views.routes, name='routes'),
    path('route_sheets', views.route_sheets, name='route_sheets'),
    path('accounts/logout/', views.logout_user, name="logout"),
    path('accounts/login/', auth_views.LoginView.as_view(template_name='login.html')),
    path('accounts/', include('django.contrib.auth.urls')),
]
